import React, { Component } from 'react'
import {NavLink} from "react-router-dom"

export default class footerBar extends Component {
  render() {
    return (
      <ul>
        {
          this.props.routes.map((item,index)=>{
            return (
              <li key={index}>
                <NavLink to={item.path}>
                  <span></span>
                </NavLink>
              </li>
            )
          })
        }
      </ul>
    )
  }
}
